let http = uni.$u.http

export const userLogin = (info)=>{
	return http.post(`/1.1/login`,info)
}

export const userUpdate = ({sessionToken,objectId},updateObj)=>{
	http.config.header['X-LC-Session']=sessionToken
	return http.put(`/1.1/users/${objectId}`,updateObj)
}